package com.napenalki.toto.dao;

import java.util.List;

import com.napenalki.toto.domain.Match;
import com.napenalki.toto.domain.Stages;

public interface MatchDao {

    public Match addMatch(Match match);

    public Match findMatchById(int id);

    public List<Match> findAllMatches();

    public List<Match> findMatchesByTeam(String teamName);

    public List<Match> findMatchesByStage(Stages stage);

    public Match findMatchByTeamsAndStage(String team1Name, String team2Name,
            Stages stage);

    public List<Match> findAllFinishedMatches();

    public List<Match> findMatchesByDate(int year, int month, int day);

    public Match updateMatch(Match match);

    public void deleteMatch(Match deleteMatch);

}
